package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 班型
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("edu_class_type")
@ApiModel(value = "ClassType对象", description = "班型")
public class ClassType implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    @ApiModelProperty("1正常，0关闭")
    private Integer status;

    @ApiModelProperty("等级")
    private Integer level;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("0所有学期，1是学期，2是假期")
    private Integer type;

    private String remark;

    private Integer deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "ClassType{" +
            "id=" + id +
            ", name=" + name +
            ", status=" + status +
            ", level=" + level +
            ", sort=" + sort +
            ", type=" + type +
            ", remark=" + remark +
            ", deleted=" + deleted +
        "}";
    }
}
